﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ZFB.Models;

namespace ZFB.Repository.Setting
{
    public interface ISettingRepository:IBaseRepository<T_Settings>
    {
        /// <summary>
        /// 获取value
        /// </summary>
        /// <returns></returns>
        Task<string> GetValueAsync(string name);
        /// <summary>
        /// 添加valu
        /// </summary>
        /// <returns></returns>
        Task<int> SetValueAsync(string name,string value);
    }
}
